#ifndef __SOUNDMANAGERTHREAD_H__
#define __SOUNDMANAGERTHREAD_H__
#include <jthread.h>
#include <jmutex.h>
#include "SoundManager.h"
class SoundManager;
class SoundManagerThread:private JThread
{
public:
	SoundManagerThread(SoundManager &soundManager);
	~SoundManagerThread();
	int Start();
	void Stop();
private:
	void *Thread();
	bool stop;
	JMutex stop_mutex;
	SoundManager &m_soundManager;
};
#endif